package serviceInterface;

import java.util.List;

import javax.ejb.Remote;

import domain.Location;
import domain.Mission;
import domain.POS;
import domain.Person;
import domain.Schedule;

@Remote
public interface ScheduleServiceInterface {
	public List<Schedule> getAllScheduleForDriver(Person person);
	public List<Schedule> getPassedScheduleForDriver(Person person);
	public List<Schedule> getNotPassedScheduleForDriver(Person person);
	public List<POS> getPOS(int scheduleId);
	public List<POS> getUnPrioritizePOS(int scheduleId);
	public String updateCompleteStatus(int scheduleId, int missionId);
	public List<Schedule> getUnPrioritizeSc();
	public void updateDeliveryStatus(long scheduleId,String missionIdList,long driverId);
	public List<Schedule> getCurrentActiveSchedule();
	public List<Mission> getMission(int scheduleId);
	public Location getCurrentLocation(long scheduleId);
	public Mission getMissionDetailForTransfer(long missionId);
}
